package com.tedu.egmybatis3.mapper;

import com.tedu.egmybatis3.pojo.Customer;
import com.tedu.egmybatis3.pojo.CustomerOrder;
import com.tedu.egmybatis3.pojo.CustomerVO1;
import com.tedu.egmybatis3.pojo.CustomerVO2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerMapper {
    int insertCustomer(Customer customer);
    CustomerVO1 selectCustomerById(String custId);
    List<CustomerVO2> selectAllCustomerByCity(String city);
    List<CustomerOrder> selectAllCustomerOrder(String custId);
}
